package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class CustomerTransfer {
    private Long id;

    // 客户对象
    private Customer customer;

    // 操作人
    private Employee operator;

    // 操作时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operateTime;

    // 旧销售人员
    private Employee oldSeller;

    // 新销售人员
    private Employee newSeller;

    // 移交原因
    private String reason;
}